// 查询当前登录的用户信息
export default defineEventHandler(async (event) => {
  const currentUserData = await UserSchema.findOne({
    account: event.context.user.account,
  }).exec();
  return currentUserData?.toJSON();
});
